﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Windows.FileStorage.Application
{
    public interface IAttachmentService
    {
        /// <summary>
        /// 上传图片
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<AttachmentResponse> UploadImage(AttachmentRequest request);
        /// <summary>
        /// 上传员工照片
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<AttachmentResponse> UploadEmployeePhoto(AttachmentRequest request);
        Task<string> GetAttachment(int ownerId);
        /// <summary>
        /// 获取系统所有图标
        /// </summary>
        /// <returns></returns>
        Task<List<string>> GetAllSystemIcons();
    }
}
